home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm6_1_1
- Caption = "Numbers"
- ClientHeight = 1200
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 3150
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1200
- ScaleWidth = 3150
- Begin VB.CommandButton cmdDisplay
- Caption = "Display 1 to 10"
- Height = 495
- Left = 600
- TabIndex = 1
- Top = 120
- Width = 1935
- End
- Begin VB.PictureBox picNumbers
- Height = 375
- Left = 120
- ScaleHeight = 315
- ScaleWidth = 2835
- TabIndex = 0
- Top = 720
- Width = 2895
- End
- Attribute VB_Name = "frm6_1_1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplay_Click()
- Dim num As Integer
- 'Display the numbers from 1 to 10
- num = 1
- Do While num <= 10
- picNumbers.Print num;
- num = num + 1
- Loop
- End Sub
-